package com.hnas.trade.service;

import java.util.List;

import com.hnas.trade.dto.DTORecord;
import com.hnas.trade.orm.AbnormalOrder;

public interface AbnormalOrderService {

	AbnormalOrder saveOrUpdate(AbnormalOrder vo) throws Exception;
	
	List<String> findAllAbnormalTranSnoByDate(String startDate,String endDate);
	
	AbnormalOrder findByTranSno(String tranSno);
	
	List<DTORecord> unionFindByCondition(String account_id, String order_parent_type, String order_type,String date,String trade_status,Integer pageNo,Integer pageSize,boolean isByDate);
	
	List<AbnormalOrder> findByCondition(String account_id, String order_parent_type, String order_type,String date,int pageNo,int pageSize,String trade_status,boolean isToDay);
	
	List<DTORecord> findTradeRecordList(String account_id, String cardNos,String order_parent_type, String order_type,String date,String trade_status,Integer pageNo,Integer pageSize,boolean isByDate);
	
	List<AbnormalOrder> findAbnormalOrderList(String account_id, String cardNos, String order_parent_type, String order_type,
			String last_tran_time, int i, int pageSize, String tran_state, boolean isQueryTodayData);
}
